class Solution {
    public int calculate(String str) {

    }
}